import api from '@/api/index'
import base from '@/api/base'
/**
 * 登录判定
 * @param {path} 记录当前路径
 * @param {next} 登陆后执行的函数next()
 */
export const isLogin = () => {
  api.accredit.accreditLogin(`${base.pro}/wap/#/author`)
}
